﻿
@{
    ViewBag.Title = "ModJudiciaryView";
}
@model justice.Models.Role

<style type="text/css">
    .panel-primary {
        border-color: #000;
    }

        .panel-primary > .panel-heading {
            color: #fff;
            background-color: #93969A;
            border-color: #93969A;
        }

    .btn-submit {
        color: #fff;
        background-color: #93969A;
        border-color: #93969A;
    }

    .btn-return {
        color: #fff;
        background-color: #93969A;
        border-color: #93969A;
    }
    footer{
        position:fixed;
        left:0;
        bottom:0;
        width:100%;
    }
</style>

<div class="row">
    <div class="col-xs-5">
        <div class="panel panel-primary">
            <div class="panel-heading">
                <h2 class="panel-title">编辑角色</h2>
            </div>
            <form class='form-horizontal' action="/Role/ModRole" method="post">
                <div class='panel-body'>
                    <input name="id" type="hidden" value="@Model.id" />
                    <br />
                    <div class='form-group'>
                        <label class='col-xs-3 control-label' for='RoleName'>角色名称</label>
                        <div class='col-xs-9'>
                            <input class='form-control' name='RoleName' id='RoleName' type='text' value="@Model.RoleName" required='required' />
                        </div>
                    </div><br />
                </div>
                <div class='panel-footer text-right'>
                    <button class='btn btn-submit' type="submit">确定</button>
                    <a href="/Role/Index" class='btn btn-return'>返回</a>
                </div>
            </form>
        </div>
    </div>
</div>

